import express from "express";
import cors from 'cors'
import router from "./router";
import './database/database'

const app = express()

app.use(express.json())
app.use(cors())
app.use(router)

export default app;